import request from "@/utils/request";

export function getPurchaseMerge(data) {
  return request({
    url: "/api/Invoicexd/getPurchaseMerge",
    method: "post",
    data
  });
}
export function generate(data) {
  return request({
    url: "/api/Invoicexd/generate",
    method: "post",
    data
  });
}
export function getSmkPurchaseMerge(data) {
  return request({
    url: "/api/Invoicexd/getSmkPurchaseMerge",
    method: "post",
    data
  });
}
export function generateSmk(data) {
  return request({
    url: "/api/Invoicexd/generateSmk",
    method: "post",
    data
  });
}
export function ticketList(data) {
  return request({
    url: "/api/Invoicexd/ticketList",
    method: "post",
    data
  });
}
export function ticketDetail(data) {
  return request({
    url: "/api/Invoicexd/ticketDetail",
    method: "post",
    data
  });
}
export function getSupplierOptions(data) {
  return request({
    url: "/api/supplier/getSupplierOptions",
    method: "post",
    data
  });
}
export function ticketSmkList(data) {
  return request({
    url: "/api/Invoicexd/ticketSmkList",
    method: "post",
    data
  });
}
export function ticketSmkDetail(data) {
  return request({
    url: "/api/Invoicexd/ticketSmkDetail",
    method: "post",
    data
  });
}
export function getInvoiceList(data) {
  return request({
    url: "/api/Invoicexd/getInvoiceList",
    method: "post",
    data
  });
}
export function getInvoiceSmkList(data) {
  return request({
    url: "/api/Invoicexd/getInvoiceSmkList",
    method: "post",
    data
  });
}
export function cancelInvoice(data) {
  return request({
    url: "/api/Invoicexd/cancelInvoice",
    method: "post",
    data
  });
}
export function draw(data) {
  return request({
    url: "/api/Invoicexd/draw",
    method: "post",
    data
  });
}
export function drawSmk(data) {
  return request({
    url: "/api/Invoicexd/drawSmk",
    method: "post",
    data
  });
}
export function getOptions(data) {
  return request({
    url: "/api/Invoicexd/getOptions",
    method: "post",
    data
  });
}
export function getOptionsSmk(data) {
  return request({
    url: "/api/Invoicexd/getOptionsSmk",
    method: "post",
    data
  });
}
export function saveChoose(data) {
  return request({
    url: "/api/Invoicexd/saveChoose",
    method: "post",
    data
  });
}
export function saveSmkChoose(data) {
  return request({
    url: "/api/Invoicexd/saveSmkChoose",
    method: "post",
    data
  });
}
export function examineTicket(data) {
  return request({
    url: "/api/Invoicexd/examineTicket",
    method: "post",
    data
  });
}
export function examineSmkTicket(data) {
  return request({
    url: "/api/Invoicexd/examineSmkTicket",
    method: "post",
    data
  });
}

export function compelSmkt(data) {
  return request({
    url: "/api/Invoicexd/compelSmkt",
    method: "post",
    data
  });
}
export function reExamine(data) {
  return request({
    url: "/api/Invoicexd/reExamine",
    method: "post",
    data
  });
}
export function reExamineSmk(data) {
  return request({
    url: "/api/Invoicexd/reExamineSmk",
    method: "post",
    data
  });
}
export function getInvoiceGoods(data) {
  return request({
    url: "/api/Invoicexd/getInvoiceGoods",
    method: "post",
    data
  });
}
export function setInvoiceGoods(data) {
  return request({
    url: "/api/Invoicexd/setInvoiceGoods",
    method: "post",
    data
  });
}
export function autoMatching(data) {
  return request({
    url: "/api/Invoicexd/autoMatching",
    method: "post",
    data
  });
}
export function autoSmkMatching(data) {
  return request({
    url: "/api/Invoicexd/autoSmkMatching",
    method: "post",
    data
  });
}
export function getInvoiceDetail(data) {
  return request({
    url: "/api/Invoicexd/getInvoiceDetail",
    method: "post",
    data
  });
}
export function getSmkInvoiceDetail(data) {
  return request({
    url: "/api/Invoicexd/getSmkInvoiceDetail",
    method: "post",
    data
  });
}
export function delTicket(data) {
  return request({
    url: "/api/Invoicexd/delTicket",
    method: "post",
    data
  });
}
export function delTicketSmk(data) {
  return request({
    url: "/api/Invoicexd/delTicketSmk",
    method: "post",
    data
  });
}
export function modifyTicket(data) {
  return request({
    url: "/api/Invoicexd/modifyTicket",
    method: "post",
    data
  });
}
export function modifyTicketSmk(data) {
  return request({
    url: "/api/Invoicexd/modifyTicketSmk",
    method: "post",
    data
  });
}
export function showFphm(data) {
  return request({
    url: "/api/Invoicexd/showFphm",
    method: "post",
    data
  });
}
export function compel(data) {
  return request({
    url: "/api/Invoicexd/compel",
    method: "post",
    data
  });
}
export function showFphmSmk(data) {
  return request({
    url: "/api/Invoicexd/showFphmSmk",
    method: "post",
    data
  });
}
export function compelSmk(data) {
  return request({
    url: "/api/Invoicexd/compelSmk",
    method: "post",
    data
  });
}
export function syncTicket(data) {
  return request({
    url: "/api/Invoicexd/syncTicket",
    method: "post",
    data
  });
}
export function syncTicketSmk(data) {
  return request({
    url: "/api/Invoicexd/syncTicketSmk",
    method: "post",
    data
  });
}
export function matchFailList(data) {
  return request({
    url: "/api/Invoicexd/matchFailList",
    method: "post",
    data
  });
}
export function showPeriods(data) {
  return request({
    url: "/api/Invoicexd/showPeriods",
    method: "post",
    data
  });
}
export function showPeriodsSmk(data) {
  return request({
    url: "/api/Invoicexd/showPeriodsSmk",
    method: "post",
    data
  });
}